var app={
    //选择性别
    chooseSex: function () {
        var _userPicker = new mui.PopPicker();
        _userPicker.setData([{
            value: "1",
            text: "男"
        }, {
            value: "2",
            text: "女"
        }]);
        var _choose = document.getElementById('choose');
        var _sex = document.getElementById('sex');
        _choose.addEventListener('tap', function(event) {
            _userPicker.show(function(items) {
                _sex.innerText = items[0].text;
            });
        }, false);
    },
    jump: function () {
        //姓名
        document.getElementById("name").addEventListener("tap", function () {
            $$.openWin({
                url: "../name/name.html",
                id: "name"
            })
        });
    }
};